package com.basic.business.operationStoreConfig.mapper;


import com.basic.business.operationStoreConfig.domain.TOperationStoreConfig;
import com.basic.business.store.vo.StoreSimpleDetailRespVo;
import com.basic.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 运营店铺配置Mapper接口
 *
 * @author zhaoxy_jn@163.com
 */
public interface TOperationStoreConfigMapper extends BaseMapper<TOperationStoreConfig> {

    /**
     * 根据配置类型和 部门祖级列表 查询配置信息
     * @param configType
     * @param deptId
     * @param ancestors
     * @return
     */
    TOperationStoreConfig getConfigByTypeAndAncestors(@Param("configType") Integer configType, @Param("deptId")Long deptId, @Param("ancestors")String ancestors);
}
